home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / pcmagdoc.arc / DIRCOMP.DOC < prev    next >
Text File  |  1988-01-19  |  3KB  |  57 lines

  1.           DIRCOMP                                Charles Petzold
  2.           Command                         1987/No. 2 (Lab Notes)
  3.  
  4.           ______________________________________________________
  5.  
  6.           Purpose:  Permits comparison of the contents of two
  7.                     directories in alphabetical order, with the
  8.                     options of redirecting the screen display
  9.                     either to a file or to a printer.
  10.  
  11.           Format:   DIRCOMP directory1 directory2
  12.  
  13.           Remarks:  The directories to be compared do not need to
  14.                     be on the same drive.  Use the normal DOS
  15.                     backslash (\) character in specifying the
  16.                     path to a desired directory.  The DOS
  17.                     "wildcard" characters (* and ?) may be used
  18.                     to limit the filenames displayed.
  19.  
  20.                     Identically-named files are shown side-by-
  21.                     side to facilitate comparison of their size,
  22.                     date, and time.  Other filenames are
  23.                     presented alphabetically in their respective
  24.                     directory columns.  Use Ctrl-NumLock to halt
  25.                     the display scrolling temporarily; striking
  26.                     any key thereafter causes scrolling to
  27.                     resume.
  28.  
  29.                     In comparing large directories it is
  30.                     frequently desirable to redirect the output
  31.                     of DIRCOMP either to a file (which you can
  32.                     then call up with your word processor) or to
  33.                     a printer.
  34.  
  35.           Example:  To create a file called COMPARE.TMP in the
  36.                     root directory of drive C: (your currently
  37.                     active drive) that compares the listings in
  38.                     your \LETTERS subdirectory with the files
  39.                     contained on a floppy disk in drive B: you
  40.                     would enter:
  41.  
  42.                     DIRCOMP \LETTERS B: > \COMPARE.TMP
  43.  
  44.           Example:  To print out the same comparison without
  45.                     creating a file, you would enter:
  46.  
  47.                     DIRCOMP \LETTERS B: > PRN
  48.  
  49.                     Notes:
  50.  
  51.                     1.   DIRCOMP does not provide
  52.                          forward/backward scrolling capabilities.
  53.                          If these are desired as an alternative
  54.                          to alphabetical listings, use
  55.                          SCANDIR.COM, which is also contained on
  56.                          this disk.
  57.